UOX3 'Set Command Info

SET {skill/stat}

You can set the skills and stats on ANY NPC or Player.

For example, to set the ARCHERY skill to 100.0 on an NPC, you would type the following:

'set ARCHERY 1000

Because of the way skills are read, 1000 = 100.0, where 100 = 10.0. Skills can be set above 100.0, but this can sometimes cause you to get the reverse affect where the server thinks you have a very low skill instead of a skill well above the cap.

Stats are rather simple, to set your Strength to 100 you would simply type: 'set STR 100

Notice this time I used 100 and it sets STR to 100, this is because Stats do not use decimals, thus 100 = 100 and 1000 = 1000.

Back to Help Index



SETNPCAI

To make certain NPC's unique or carry out a certain action, we need some way to specify what he will do to be special.

The programmers of UOX3 came up with the idea to use the now very popular word in game society, Artificial Inteligence, AI for short. They took certain NPC's that had unique tasks in the game, such as bankers and guards. They created a specific AI to assign them to make them do what the players would like them to do.

Thats where the SETNPCAI comes into the picture. Below i will Describe the different values to assign to it.

01 = Sets NPC to a healer. It will ressurrect ghosts.
02 = Sets NPC to an evil monster that will attack all good monsters, animals and players.
04 = Sets NPC to a Teleport Guard.
08 = Sets NPC to a Banker.
10 = Sets NPC to an evil monster that will attack weakest enemy first.
20 = Sets NPC to an evil monster that will attack strongest enemy first.

Usage:

'setnpcai 08 Would set the targets' AI to a banker

Back to Help Index



SETOWNER

The 'setowner command sets the targets' owner to the serial number of a player.
NOTE: You can find a players serial by single-left-clicking on them.
Usage:

Where a characters serial is 01 01 01 01, you would type:
'setowner 01 01 01 01

Back to Help Index



SETPRIV PR1

This command is used to give GM privledges to players without making them a GM

01 = GM Command clearence. Gives you the status of a GM.
02 = Broadcast. It works like a yell command.
04 = Invulnerability. Makes target imune to damage.
08 = Single click shows you serials. Used mainly for debugging.
10 = Don't show skill titles.
20 = Listen to GM pages/help calls.
40 = Can open other characters or NPC's Backpacks.
80 = Counsellor command clearance. Makes the target a Counsellor.

Usage:
'setpriv pr1 01

This would give a player GM status.

Back to Help Index



SETTYPE

This command is used to set an items type. Most of this is already done for you in the scripts, but you may find it useful to change items into something like a resurrection object or so on.

UOX Types
Type     Description
-------------------

00   Default type
01   Container/backpack
      moreb1 > 0 Magically trapped
02   Opener for order gate
03   Order gate
04   Opener for Chaos gate
05   Chaos gate
06   Teleporter rune, acts like teleport was cast
07   Key
08   Locked container
     moreb1 > 0 Magically trapped
09   Spellbook
10   This opens a map based on the serial num of the item
11   A book:Entry in misc.scp: %li",
      More1 => MSB of serial (most significant byte)
      More2 => NSB of serial (next significant byte)
      More3 => NSB of serial
      More4 => LSB of serial (least significant byte)
12   Unlocked door
13   Locked door
14   Food item
15   Magic wand
      MoreX => Circle
      MoreY => Spell within circle
      MoreZ => Charges left
16   Resurrection object
17   Full mortar/alchemy, more info at a later date
18   Enchanted item that displays a random message
19 Potion

    Morey
      1: Agility
        Morez 1 Agility
           2 Greater Agility
      2: Cure
        Morez 1 Lesser Cure
           2 Cure
           3 Greater Cure
      3: Explosion
      4: Heal
        Morez 1 Lesser heal
           2 Heal
           3 Greater Heal
      5: Night sight
      6: Poison
        Morez 1 Lesser
           2 Poison
           3 Greater
           4 Deadly
      7: Refresh
        Morez 1 Lesser Refresh
           2 Refresh
      8: Strength
        Morez 1 Lesser Strength
           2 Strength
      9: Mana
        Morez 1 Lesser Mana
           2 Mana
      10: strcat( message, "LSD potion" );

35   itemID 0x14F0 => Townstone deed, will make townstone
      otherwise => Townstone, use to find out information on the town
50   Recall rune
      MoreX => Target X
      MoreY => Target Y
      MoreZ => Target Z
51   Start Gate *guess at info*
      MoreX => Target X
      MoreY => Target Y
      MoreZ => Target Z
      Ends up going into the gatex[], gatey[], gatez[] array
52   End Gate *guess at info*
      MoreX => Target X
      MoreY => Target Y
      MoreZ => Target Z
      Ends up going into the gatex[], gatey[], gatez[] array
60   Object Teleporter
      MoreX => Target X
      MoreY => Target Y
      MoreZ => Target Z
61   Item Spawner
      MoreX => Npc Number to spawn
      MoreY => Respawn minimum time
      MoreZ => Respawn maximum time
62   Monster/NPC Spawner
      Amount => Number to spawn
      MoreX => Npc Number to spawn
      MoreY => Respawn minimum time
      MoreZ => Respawn maximum time
63   Item Spawn container
      Moreb1 > 0 Magically trapped
      MoreY => Respawn minimum time
      MoreZ => Respawn maximum time
64   Locked item spawn container
      Moreb1 > 0 Magically Trapped
      MoreY => Respawn minimum time
      MoreZ => Respawn maximum time
65   Unlockable item spawner container *needs verifying*
      Moreb1 > 0 Magically Trapped
      MoreY => Respawn minimum time
      MoreZ => Respawn maximum time
69   Area spawner
         More3 => X +/- offset
         More4 => Y +/- offset
      Amount => Amount to spawn
      MoreX => Npc to spawn
         MoreY => Minimum respawn time
         MoreZ => Maximum respawn time
80   Single Use advancement gate
      MoreX => entry in advance.scp to use
81   Multi Use advancement gate
      MoreX => entry in advance.scp to use
82   Monster Gate
      MoreX => entry in npcs.scp to change into
83   Race Gate
      MoreX => Race to turn into
      MoreY => 0 single use, 1 repeated use
85   Damage Object
      MoreX + MoreY => Minimum Damage
      MoreX + MoreZ => Maximum Damage
86   Sound Object
      MoreX => First half of sound to play
      MoreY => Second half of sound to play
      MoreZ => Percent chance of sound playing
87   Trash Container
88   Sound Object plays when someone is near
      MoreX => Sound effect to play
      MoreY => Radius
      MoreZ => Probability
100 Looks like hide/unhide object More detail to come later
101 Morph object
      MoreX => Body to morph into
      Changes to type 102
102 Unmorph object
      unmorphs back to body before using it as type 101
      Changes to type 101 again
103 Army Enlistment object
      MoreX => Army to enlist in
104 Teleport Object
      MoreX => Target X
      MoreY => Target Y
      MoreZ => Target Z
105 Drink Object
117 Backpack????
125 Escort NPC Spawner
      More3 => X +/- offset
      More4 => Y +/- offset
      Amount => Amount to spawn
      MoreX => Npc to spawn
      MoreY => Minimum respawn time
      MoreZ => Maximum respawn time
      *I believe*
181 Fireworks wand
      MoreX => Number of charges
185 Smoking object
      MoreX => Duration in secs
202 Guildstone deed
203 Opens housing gump
217 Player Vendor Deed
255 Worldforge type

Usage:

'settype 50 This would change the targets' type into a recall rune, thus you can mark it and recall from it

Back to Help Index